import request from "@/utils/request";
import { serverBaseURL } from '@/constant/system.js'
// 请求地址前缀(微服务配置中的服务名称)
const baseURL = serverBaseURL
// 保存附件
export function saveAttachment(data) {
  return request({
    url: baseURL+"/attachment/saveAttachment",
    method: "post",
    data: data,
  });
}
// 获取附件
export function getAttachmentByRelateId(data) {
  return request({
    url: baseURL+"/attachment/getAttachmentByRelateId",
    method: "post",
    data: data,
  });
}
